﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title></title>
    <script type="text/javascript" src="../Content/highlighter/scripts/shCore.js"></script>
    <script type="text/javascript" src="../Content/highlighter/scripts/shBrushCSharp.js"></script>
    <script type="text/javascript" src="../Content/highlighter/scripts/shBrushXml.js"></script>
    <link type="text/css" rel="stylesheet" href="../Content/highlighter/styles/shCoreDefault.css" />
    <script type="text/javascript">SyntaxHighlighter.all();</script>
</head>
<body>
    <h3>Nuget命令</h3>
    <b>工具->包管理器->程序包管理控制台</b><br/>
    <img src="../Content/images/knowledge/20171109100142.png" /><br/>
    <p>
        Update-Package -ReInstall -Project '项目名称'
    </p>
	<b>Nuget包无法还原，且报一些错误无法识别</b>
	<p>
		原因:微软下载Nuget包的协议并未对Nuget包做任何验证，下载下来的Nuget包不保证准确性。<br/>
		由于网络原因，经常会出现下载下来的包不对，导致无未能安装及还原。<br/>
		<img src="../Content/images/清除Nuget缓存.png"/>
	</p>
</body>
</html>